<?php
extract(extractGet(), EXTR_PREFIX_ALL, 'log');

if(isset($log_day)) {
	//jsonSuccessDie("log", count(getLogsMovedAtDay($log_day)));
	jsonSuccessDie('logs',  R::exportAll(R::findAll('log', 'type="cardmove" or type="cardmoveWIP" ')));
}